const mongoose = require("mongoose");
const Schema = mongoose.Schema;

const college = new Schema({
    name: {
        type: String,
        required: true
    },
    createDate: {
        type: Date,
        default: Date.now
    }
})

module.exports = {
    college: mongoose.model('college', college)
}